package ml;

import java.util.ArrayList;
import java.util.List;

import ml.features.FeatureExtractor;
import corpus.SentPolarityCorpus;
import forum.ForumPost;
import forum.ForumSentence;
import parser.ParserPipeline;

public class NullModel extends DataModel {

	public NullModel(String name, ParserPipeline pp, String[] labels) {
		super(name, pp, labels);
	}

	@Override
	public void classify(ForumPost post) {
		for (int i = 0; i < post.getParserAnnotation().getNbrSentences(); i++) {
			ForumSentence fs = post.getSentences().get(i);
			fs.setEmotion("neu");
		}
	}

	@Override
	public void addFeatureExtractor(FeatureExtractor fe) {
	}

	@Override
	public void extractFeatures(SentPolarityCorpus spc) {
	}

	@Override
	public List<FeatureVector> getFeatureVectors() {
		return new ArrayList<FeatureVector>();
	}
}
